Added support for writing the OptionalStandardFields headers for the skeleton image