bugfix: file descriptor leak with Guardtime signatures

When a .gtstate file is opened it is never closed. This is especially
bad when dynafiles frequently get evicted from dynafile cache and be
re-opened again.