Snow Leopard: Fix escaping of headers