Clean up stream handling. Now both internal and external piping works for both LispWorks and SBCL.