path: Rework handling of overflow

This is a change in the command interface