The U.S. federal budget deficit widened to a record $1.9 trillion in the first seven months of the fiscal year as the government continued to provide support for the pandemic-ravaged economy.