[PD] create folder implementation (was: pyext always crashes)