Correct function call
Set some assert checks
Fix variable names; only delete files if target mkv exists
Add asserts, copy file instead of renaming it, saving it for debugguing