Convert many fopen calls to fopen64 to ensure we can read/write past 2GB. Resolves #1026.
Merge pull request #1027 from rocallahan/fopen64

Convert many fopen calls to fopen64 to ensure we can read/write past 2GB...