Downloaded files are opened for writing in binary mode