Add fallback support for older versions of `ls'