Fix caching and add error checking in bitcoincharts.
0.1.9