Update serial.cpp

This has Wget and fork working

Just a few more modifications and the serial downloader should be finished.