Serialized yaml versions of COFF executables have section addresses as absolute addresses, while the section header itself stores the relative virtual address. When writing fields back into an executable, subtract the image base.
Alternatively, if we want the yaml representation to be a more exact dump of the source file, we could change obj2yaml instead.