Always set the ParentFolder after creating new subfolders

Fixes issue #31