Fix backslash issue for windows

the fs <-> metrics naming helpers were hardcoded to use a forward slash. I have replaced the forward slashes with os.sep to support non-*nix platforms.