Linear Automata, Rational Series and a Theorem of Fine and Wilf