Fix sandbox log wordwrap

Ready for review. @hodgestar, since we tested in Slack?