Add support for frozen panes and auto_filter when using optimized_write.
Created originally on Bitbucket by andersch (Anders Chrigström)
Changesets for this Pull Request have not been imported, because it had been already declined on Bitbucket. Marked as closed by the import user.