fix(ios): don't copy temporary video file on main thread and cleanup (#942)