Fix bin file header