fileservice: Fixed a bug when browsing previous revisions, that the *existance* of a file or *whether or not it is a directory* was determined by the current version, not the historical version. Now checks the revision to see whether the file exists and whether it is a directory (so it will not look at the physical file system at all).