Add payload version (PE version) auto-detect

Rather than hard-coding a string, just read the VERSION file from the
payload.