Fixed ESAR in HexFile parser.
Modified HexFile parser to support writes.