Use read instead of mmap when not available.

mmap is not available on all operating systems. When mmap is not
available, simply read the file into memory using the read()
function.

Thanks to Thorsten Godau for discovering and reporting this bug.
Merge pull request #3 from martin-helmich/optional-mmap

Use read instead of mmap when not available.