finding workaround to cope with node 0.11 Buffer behavior