Fixed serious bug with path separators.