add newline to util/resty print method

to behave like normal lua