small fix for securely removing source videos only after successful encoding.