Windows: shorten code by re-using convert_slashes()