Improve readability of output of eosrmdir custom function