Possible fix for #264

Fix for #264

This restricts two uses of memory mapped files and ensures that the ReadAllBytes fallback is used if memory mapping fails with some other exception besides DllNotFoundException.