Refs #356: sizeof doesn't do what you think it does in PHP; forcing trailing slash on paths.
Merge pull request #359 from mapkyca/fileslashes

Make sure that file paths end in a trailing '/'