pr review comments; moved mkdir() to platform plugin utils.