961 folder creation

fixes #961
This is fixed. You just don't see it because the line you commented on is not in the diff.