Add utf8 BOM hook, required for the windows8 platform