Create xfa:datasets if it can't be found

Some pdfs does't have a xfa:datasets node. If that is the case create
one and populate it with data.