[ bug #1526 ] Thumbs of files uploaded with dots in their names do not load correctly