.ani files require metadata fields to be an even length. If the data length is odd, an extra 0x00 is added for padding. This patch updates the export and import code to comply with this requirement.