Fixed an issue where files could not be created on a Windows slave.