Fix gallery folder links broke on Windows, replace os.sep with "/".
On Windows, os.sep is "\", not "/", so for example, galleires/demo generate a link "/demo%5c", and this commit fixes it into "/demo/".