small update to file cache directory exception catching