#3617 fixed file rename under host