Improve file name copying in dired mode.