Ensuring working tree passed into feature writer.

As previously written FeatureWriter maintained a reference to WorkingTree
that was never initialized. Causing a NPE on calls to remove() and next().

Re submission of #312.