[Bug 27383] New: cmd: mkdir should give an error for pre-existing directories