Fix #516 Use a temporary videodir for recording tests