std.mmfile: Improve error handling

Use wenforce instead of (inappropriately) errno.
Switch from if blocks to scope blocks.
std.mmfile: Fix Windows anonymous mapping creation to conform to MSDN