Fix (tested on gnu/linux): non-ascii file names could not be opened via the command line

Signed-off-by: Mattias Andrée <maandree@operamail.com>