Avoid use of deprecated OutputStream.put in some places.

This was only caught on DMD 2.064.
Disable unit test for Future on DMD 2.064 and below.

Fixes compilation due to emplace() being used with a struct with scoped destruction, which is obviously not supported.
Fix compilation on DMD 2.066 beta 1. Fixes #712.