Writing zip files and tiffs now uses binary write