Set headers on write

Allow the ability to set headers on files as you write them.
why are these removed?