app/util/autoversioning.py: use Popen instead of shell pipes in _calculate_source_version