fix default outfile if pwd has spaces in path.