Print application paths for --version

fixes #6783