Fix CreateFileW function usage, otherwise it fails to open file.
Merge pull request #501 from vadimi/master

Fix CreateFileW function usage, otherwise it fails to open file.
Fixes build to report correctly to coveralls.io