Small error-reporting fix

[master 8ee160e] fix error handling of framework init errors - error handler was itself breaking as StringIO doesn't implement #concat.  also report the original error for LoadError exceptions as this often tells which file is the actual problem.