Fixes #36
More error checking for Snapchat::$cache