support tildes in paths