User data was getting ignored when written out.

The userData section of the DPX file, was getting read correctly, but then was completely dropped when being written back out.