Ensure that the target file is removed between tests to avoid test pollution.