I would write "an" but, in general, I see "a". It drives me nuts.