64-bit compatible file access