Support dashes in mod version

Updated api/cache/update to support version identifiers that include
dashes. Anchored regex using portion of filename matching the current
directory.