Here's what happens if you file late and how an IRS tax extension works.