bugfixes/minor changes/better error handling for download_rtmp ()