fix #145 correctly

now kdbGet() on empty files will be avoided
also fixes kdbGet() syncbits on reusage
follow-up #145 for fixing all plugins+testing
Revert "fix #145" (wrong fix)

This reverts commit ce4811e31af0030649292b47683651e5db0485da.