resolves #824 honor BOM when normalizing source (Ruby >= 1.9 only)