Writing out .text section as binary