Fixes download and upload commands sending data to wrong folders.