lock_file: explicitly ignore failure of file removal