allow literal control characters in filenames

only tested in the wild with filenames ending with a newline character