RDF/XML allows multiple serializations of RDF graphs. Sesame parses the incoming file and extracts its statements. For exporting, Sesame needs to transform the statements back to RDF/XML syntax again. For this, it uses the rdf:about constructs since these are the most generic (rdf:ID attributes are required to be unique across the entire file).
In conclusion: this is not a bug. The two pieces of RDF/XML are semantically identical.