MDL-39177 Updating userid when file is overwritten