Use Tempfile#binmode when creating tar from dir