[#160] Handle BOM related TypeErrors