ensuring working tree passed into feature writer