download files in binary mode