Handle decimal entries in /sys/bus/event_source/devices/cpu/events/

The following patch should properly handle decimal values in
   /sys/bus/event_source/devices/cpu/events/
files.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>