Fix to correctly handle multi-part paths in svgroi.py