Use file mode if mmap is not available