use os.remove, not shutil.remove; get_cube now passes along mongodb_config as expected