fixed dir rename for windows