fixed str/bytes error in download script
added checksum function to quest cipher