change saved files to binary mode