mtp: make querypath return optional
this replaces the implicit 0==notset behavior which actually was not correctly handled in getFileFromPath where it would appear it always treated return 0 like a cache hit when indeed it was a cache miss
this replaces the implicit 0==notset behavior which actually was not correctly handled in getFileFromPath where it would appear it always treated return 0 like a cache hit when indeed it was a cache miss