Bug Fix: don't close printWriter on write.