fixed 'TypeError: Argument must be a string ' when res.send() with Buffer as argument