Function to copy current filename to kill-ring.