writerfilter: Kill RefAndPointer, all it does is one dynamic_cast.

Change-Id: Ie383f7e4ee89770f722d963e09efda9063a68c16
writerfilter: Posix sed needs just one parameter.

Change-Id: I8685136fcd43cb0ae445a8f19cbd9021737c42d4