Fix Invalid MS-DOS Function file error on Windows 11/10