fix deprecation warning

Recast's API changed a bit recently - if you use the output of `recast.print()` directly you get the following warning:

> Deprecation warning: recast.print now returns an object with a .code property. You appear to be treating the object as a string, which might still work but is strongly discouraged.

This PR fixes that. Thanks!