Dump method works on windows