Fixed failure of os.rename after receiving file finished due to file not being closed.
-rw-r--r-- 11 LATEST_VERSION
-rwxr-xr-x 84719 youtube-dl