[Fixes #1201] Handle virtual paths in FilePathResult

Make the sample work