Need to use the OutputStream, not the Writer;  seen issues when filter chain writes to both
Merge pull request #12 from usnavi/external_loc_fix

Need to use the OutputStream, not the Writer;