Fixed bug with shell spitting out lots of ' ' if it encounters a filename too long during dols()