Move string decoding of file name/dir vim segments

Closes #93.