fixes bug using ab with very large generated query files