I could not find the reason why the strip slashes was needed originally. Perhaps on some other file systems the slashes cause problems? It works just fine without this on my windows wamp install.