Compatiblility fix.

Now the file is compatible with Windows path, also works inside folders
other than web root.