Added a nil pointer check in the File.Close() method to ensure that TagLib doesn't attempt a double-free