Use _FILE_OFFSET_BITS to select which file system interface to use

This allows using the regular file system functions and determining the interface to use when compiling.