Added workaround for .stfolders not being created (fixes #168).
Fixed wrong xml tag being used.