Set file encoding to utf8 explicitly to ensure BOM is stripped from output