Fixing unicode on writing .tar.gz