mod_attach: output stream wasn't working
Merge https://github.com/friendica/red into zpull