Format the names of the directories and files to replace the character '/'
Fixed (getattr) not returning with path='/'.
Merge pull request #1 from karlak/master

Just a couple of changes