Parse the gdal VersionInfo() output to make it make sense in terms of major.minor.hotfix convention
‘3000400’ -> ‘3.0.4’
gdal version
str