Did you try the MmFile workaround?
I did. I also pinpointed the problem, I use x86_mscoff to run dub and it's specific to that architecture selection. It's related to MapViewOfFileEx [1].
I still haven't found a way around it though.[1] https://stackoverflow.com/questions/12121843/mapviewoffileex-valid-lpbaseaddress