Fixed tarfile ioerror for windows config