Changed self.map_dir to installdir/main.
Fixed bug in which small files are not downloaded, only an empty file exists. Also set PYTHON to PY_SRC_DIR/python , as opposed to python3.