Python: write_svg now supports file handles and edge_stroke_widths