Fixed path forming bug in rename operation.