Don't bother closing the spool handle on shutdown

Signed-off-by: Sharif Olorin <sio@tesser.org>
Fix buggy use of freopen in send functions

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