update rake task dumpsql to dump sql into doc folder