save input stream to temp file and view it with proper program