wrap cache read in exception block

Hi, @freshprince -

This fix was necessary to prevent a corrupt cache file from causing the script to fail silently.