Updated to raise IOError if an exception is encountered during refresh/cache_entries.
Added specs for an unreadable entry.