save() method wasn't using optionally specified file.  When specified

the code used the filename specified on the db creation.  These
changes use the filename if provided otherwise the originally
configured db.json file name.  These updates apply to both sync and
async saves, but only sync were tested since the API doesn't include a
callback mechanism for the async file write (yet).