Add .gitattributes.
Finish updates to POSIX.