prompt: do not treat a leading newline in a filename specially

This fixes https://savannah.gnu.org/bugs/?49884.
2 files changed