Fix logic in spool path building

Some indices were off by one. Figures.

Signed-off-by: Sharif Olorin <sio@tesser.org>