Fixed version replacement in downloaded filenames using regex incorrectly
 * replaceAll() uses regex; replace() does the same thing, but doesn't use regex
 * Also added some protection against trying to update mods that are loaded from a directory (only happens in a dev environment, afaik)
Merge pull request #49 from squeek502/version-replace-fix

Fixed version replacement in downloaded filenames using regex incorrectly