Yet another recursive delete dir function for Erlang