Improve geometry import/export and QgsGeos