Add the ability to pass flags to limit in file.sed

I present this as a more functional alternative to #7309.