fix removal of extraneous files on rotation