printf-hook: Write to output stream instead of the FD directly when using Vstr