WriteFile and ReadFile does not check for INVALID_HANDLE_VALUE
Merge pull request #33 from MartinHaimberger/FileFix

WriteFile and ReadFile does not check for INVALID_HANDLE_VALUE