Step to reproduce:
1. Use touch from coreutils or find-file in Emacs to create a file which name contains a linebreak. (e.g. "line\nbreak")
2. Visit it in dired, you cannot do anything with this file because the characters after "\n" was ignored by dired.