Fixed MAC address formatter: better string handling.