Fixed an error while saving downloaded files

Changed the “ReadWrite” Flag to “WriteOnly”