BUG: Excel writer doesn't handle "cols" option correctly

Issue #5427