[mkdir] don't treat as a error when rename but newpath is not empty

Signed-off-by: Fuang.Cao <cavan.cfa@gmail.com>