Add support for release candidates when parsing versions for determining archive subfolders