Improved error reporting, try to fix read errors from sd card