this method does not break relative paths

the method dir = dir:gsub("%.", "/")
Merge pull request #93 from CapsAdmin/patch-1

this method does not break relative paths