File headers
Rework PreserveNodeSelection
Writing to stream can fail