sync IO when required, instead of only when using extend
Merge pull request #2 from byxorna/gabe-fix-sync-for-include

sync IO when required, instead of only when using extend