WIP - fswrite without pipe