dbm: Fix the RemoveFile bug