Fix problems with paths with spaces.