Fix problem with tab-expansion for folder names with spaces