change OSS support to no longer use mmap mode for better compatibility.