Update FIELD_SET macro with getIfSet() function
Fix possible memory leak in FileStore::get() method.