Allow reusing FileInfo for getStorageInfo

Save another call to the filecache when opening a folder.

cc @DeepDiver1975 @karlitschek @PVince81