[HexFile.py] Add pre-processing hook.
[SRecords.py] Complete writer.