Nifi write attributes to file