Fix unhandled FormatException parsing device information on non-US locales