Fix bug when folder name is a number

Folder names are handled as indexes. 
This is a problems when a folder is named with an integer.
Merge pull request #11 from gorekee/patch-2

Fix bug when folder name is a number