Bionic didn't add fopen64 until API 24, but there's no meaningful
distinction between them with Bionic, so just use fopen instead.
On Windows, use _chsize_s instead of _chsize. _chsize uses a 32-bit
long size argument, while _chsize_s uses __int64 instead.
Factor out utils::{off64_t, fopen64, ftruncate64} for use within the
create_file function.
I think it would be better to instead add utils::fopen64, utils::ftruncate64 and utils::off64_t. That way, we can simplify this code and hide the complexity inside utils:: above, which was the original goal.