Use `wp_mkdir_p` instead of `mkdir`

Would be better to use this core function instead of the vanilla PHP mkdir function