escaped convert command to allow for pathnames with spaces