gio-tool: Use print_file_error correctly