Fixed bug packing binary files