Don't write mode header (e.g. -*- sh -*-) to new file, instead, infer mode from file extension