Replaced subprocess.call to ogr2ogr with check_call