Fix check for disallowing filenames more than 200 characters long
Shorten existing filenames over 200 characters for Windows users
Closes #1519