Remove newlines from filepaths (may confuse end users)