Allow print/1 to consume list of ops directly

Also change the function to return the contents of the operation instead
of the 'ok' result from io:format.