Handle ascii-8bit strings in tempfiles