Use the new AddonManager module to get the addon version number
Try to determine the branch name of the extension from the version string
Prefix temp file with 32 random bytes