std.mmfile: Improve error handling

Use wenforce instead of (inappropriately) errno.
Switch from if blocks to scope blocks.

Needs ~~https://github.com/D-Programming-Language/phobos/pull/2505~~
Should it really be int? size is ulong