fix save pages/templates (using subdirectories)
Merge pull request #12 from horphoz/master

fix save pages/templates (using subdirectories)