Fix issues around OFX file output validity.