Minor bugfixes in bin_ls