Quote string values to file database correctly
This MR contains two commits: one fixing the issue described in #1162 (closed), and another adding a minimal test suite (there previously was none) for the FileDatabase
class. The new test suite includes a test that, without the fix introduced in the first commit, reproduces the issue.