Add process output filtering and strip line end literals

I was getting sick of ^M's showing up in output; this strips them out and makes it easy to add other filters. I guess it might potentially be useful to have different filters on a per-service basis, but I can't really think of a good reason--what do you think?