Make automator script work with paths including spaces.