Fixed issue where downloaded binary files were corrupted.