Add test for when unlink fails in clear_autochildlogdir()