Simplify dir handling in download_xcsoar_tools.sh