FileSystemTileCache: added non-threaded option (mainly to facilitate testing)