Move checksum function to downloader module