Make sure we don't write inadvertently to stdout.
Fixes a bug where were pushing 2 slots when returning a double array.