move fixPolygonOrientation to path.d
lowercase filenames
tidy up