[loadpath] Factor in common logic for vio/vo file selection.
[loadpath] Factor in common logic for vio/vo file selection.

JasonGross/coq,gares/coq,coq/coq,Matafou/coq,gares/coq,ejgallego/coq,gares/coq,SkySkimmer/coq,coq/coq,Zimmi48/coq,Zimmi48/coq,ejgallego/coq,Zimmi48/coq,ejgallego/coq,JasonGross/coq,JasonGross/coq,JasonGross/coq,coq/coq,silene/coq,silene/coq,ejgallego/coq,silene/coq,Matafou/coq,Zimmi48/coq,coq/coq,SkySkimmer/coq,SkySkimmer/coq,Matafou/coq,SkySkimmer/coq,gares/coq,gares/coq