Open binary files with 'b' modifier for non-POSIX compatibility.  Add compiled binary and object files to .gitignore.