Apply the BOM sniffing logic to fileopen(), which is used by File -> Open.
Authored by: david_costanzo 2019-07-15
Parent: [r4974]
Child: [r4976]