Allow zerofilled numbers with leading zero

Ruby by default treats numbers with a leading zero as being octal numbers.
This makes sure that the number conversion in `Account#serial_number` is
done with `to_i(10)`, to avoid such problems.