Running into trouble trying to get netcat to print out to file correctly.