update pcduino-gen: dont truncate file
suppose to impl core/serial