Added return codes to GDAL module functions. Will be helpful in testing.