Properly move the temporary recorded files after recording