Change some functions to more modern Carbon File management APIs.
Remove the last reference to SetEOF.
Get rid of a few FSWrites.