hack to return the output after saving it to a tempfile