Fix parsing of periods from config file in selfstats.

Period can be given without space between value and unit now.