MAINT: io: handle a bad fmt argument in savetxt by raising a ValueError.
Merge pull request #3953 from WarrenWeckesser/savetxt-bad-fmt-error

MAINT: io: handle a bad fmt argument in savetxt by raising a ValueError.