NSE scripts should not send data to stdout with print(). One exception was not altered: url-snarf states in its documentation that urls are sent to stdout by default, with a script-arg option to save to a file instead.