Add support for UNIX-style path names (forward-slash)
Submitted by Keshav Padram [the.ridikulus.rat@gmail.com]