The issue comes with a Security update on Windows. The following error appears when a BOM is ran:
November 15th Microsoft has released some patches that have fixed this issue. If you have these installed and you are still experiencing this issue, check to see that the below KBs have been uninstalled.
Uninstalling the update will solve the problem. Navigate to the Installed Updates section of the Control Panel. Scroll down to the Microsoft Windows category and then right click to uninstall the Security Update for Microsoft Windows.
Windows 7: KB4041678 & KB4041681
Windows 8.1: KB4041693 & KB4043763
Windows 10: KB4041676