fix subfolder renaming (closes #71)