Unless you're legally separated, you can't file as single when you're married.
You need to file an amended return as married filing separately or married jointly, and pay the taxes owed if it results in a bigger tax bill.
However, this issue won't affect your petition at this point in time, so you can go ahead and file the I-130 now and fix your tax issue later. But you need to get it straightened out before the next stage when you have to file I-864, because for the I-864 you will have to provide tax returns or tax transcripts. You also need to sort this out before applying for citizenship.