Ignore more files
Fix precision warning

Fix loss of precision on systems where streamsize > int
Fix OSX build