Fix addition of binary files, newline at start of added textfiles, and missing EOF on all additions.