WriteFile this is used just to not break go build on Windows. We do not support
atomic rename on Windows. In the scope of this project that aims to run only
on Linux this function is only used to allow dev that runs on windows to test
other part of the program.