Fork from https://github.com/markusdosch/RegexRenamer.
Roland Pihlakas: Added support for long file paths. The previous version would crash on encountering long file paths. Among other changes .NET 4.6.2 framework needed to be used instead of .NET 2.0. See more info here: https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/retargeting/4.6-4.7#long-path-support