add passing test for sync transforms of large files and failing test for async transforms
Merge pull request #124 from mirkokiefer/master

Writing of header fails for async transforms of large files