fix outfile bug in uploading ping files