Write files in bin mode.