If the user data is bigger than 1M we drop it, since it seems
better to drop it than fail to write out the file.
This really should only happen in an extreme case
any tool using that area, should really be careful to manage it properly.
Merge branch 'writeuserdata' of https://github.com/richardssam/oiio into writeuserdata