use ftello to query file size up to 4gigs when writing mvid file
fixup compiler wanrnings with xcode 4.6