Correct file rename errors