Use explicit CreateFileA function to create a dump file in Windows

The dump file name is a std::string therefore `CreateFileA()` function should be used in order to compile in a Unicode project.