falling back to rm if unlink is absent