Skip invalid fileserver cache entries (2014.1 branch)

See #13837.