Fixed failing Geometry exportToJSON/WKT tests.
Cleaned up examples.
Removed deprecated path.existsSync().