Remove an extra newline from a file.