This moves setting of _fmode slightly later in the initialization of the application via Ardour::init.
PBD needs Gio for PBD::copy_file and perhaps others
A bit of refactoring to move initialization of libpbd into libpbd rather than rely on "client" code(ui,libardour,tests etc) to do it