Move copy_file_from_url from util align.py to util.py and use it.