Accept comma as decimal separator when parsing doubles

Aperio slides apparently leak the system locale into slide files.

Fixes #134.
Forbid calling fopen() and g_ascii_strtod()