reset LC_CTYPE,LANG to avoid "sed: RE error: illegal byte sequence" error on OSX (#6)