[Fixes #1201] Handle virtual paths in FilePathResult

Separate PR