Write cpu serial number to file