Remove non-POSIX memory I/O. Partially addresses #25. Fixes #56. Fixes #58.