Made gdal.open() throw if driver not specified for 'w' mode.