You can’t do this with the Finder. Open Terminal.app (Applications -> Utilities -> Terminal), and type:
> cd /path/to/directory/containing/htaccess
> mv current_file_name .htaccess
Example (do not take directory names or initial filename literally, of course):
