[eglib] Fixed file being created without read/write permission on Windows.
[eglib] Fixed file being created without read/write permission on Windows.

This bug manifested itself as files being written to disk with 0 bytes.

Fixes the AOT compiler on Windows not working properly.

https://bugzilla.xamarin.com/show_bug.cgi?id=27900

mono/eglib,mono/eglib