don't try to unlink `None` filename