finish copy-file-name-as-kill

thanks to http://emacs.stackexchange.com/a/4202/2264