Improve `ls` IEx helper output when ANSI colouring is available

Closes #972