Fix useless extension parameter in constructor

This change fixes the "extension" parameter having no effect in FilenameDatabase(Logger log, String prefix, DBMS dbms, String directory, String filename, String extension). This fix will affect any derived classes that call this constructor as well, such as SQLite and H2.