use path.sep instead of "/" for path seperation when using nedb backend