Removed importing of hashlib from the download_preview module.