fixed tab complete for cases such as spaces in filenames