The staging file was not being removed after the mime parse.  Now it is removed before the new file is written that replaces it.