vfile utility to convert between positional (line and column-based) and offset (range-based) locations