Directories don't have trailing slashes in PHP stream wrappers
Fixing the nextStat caching of the stream wrapper to account for the removal of the "/"