Fix copySpecResources to work with not alphanumerical path (e.g. accent in Windows path)