strip whitespace from erlang cookie