Ensure files end with newline, fixes #6