fix: Make it write the output to dest, not src
Merge pull request #1 from ajoslin/dest-fix

fix(write): Make it write the output to dest, not src