Don't panic!

When attempting to open the file during mmap, don't panic if we cannot
open the file, using the error value returned by the caller.