make renaming file work, rename thumbs too