Fixing output error when no error is provided on serialport.js#L94.