fix flashing of firmware with spaces in the path.