FileSystemTileCache: check for NPE in deleteDirectory