we were adding up to two bytes of null to the end of base64-encoded binary data due to a signed/unsigned mixup add a test for this, plus a test for vips file format