replace g_free call on GFile objects, fixes #196

This fixes #196, further details can be found in the issue comments.