Fixed incorrect freeing of enclosure_full_filename on enclosure write failure.