Update sysinfo.cpp

Added proper strncpy code to cat files. This is better than my other function. Makes a lot more sense.