File: Changing snippet naming.

If there is an extension, remove it from the middle, and add it on the
end.