Make file formatting comply with POSIX and Unix standards

Make file formatting comply with POSIX and Unix standards

UTF-8, LF, no BOM, and newlines at the end of files