Improved error handling & support for older rgdal