XIO::SplitLeafName coudln't deal with ./file.jpg (leading dot)
Updating GIF handler to te new API.