Fix wrong size while writing binary