Fix buffer overflow on close() in mac osx. 

Ran into a crash when trying to call .close() on a serial port. Turned out on osx the address buffer size was only 16 bytes, but addresses are 18 bytes e.g "00-04-3e-31-5b-58".

Extended buffer to fit address string and used strncpy to be a little safer.