added download_binary method. to be able to download images