adding ensure_dir to videodownload
fix bug in function call name, for edge case.