Support for variant paths in elffiles.py