Wrap argparse+importlib in try/except

Better handle running in older environments where argparse and importlib may
not be installed by default.