Create new folder using editor scripts

Linking to my answer in another thread: Changing gui's content using an editor script - #2 by britzl