make fgrep more erlang-aware