fixed rm command line length on osx #869