Check mkdir output.