Renaming Theme

Can you rename a template? I created a template, but I have capital letters used and a dash in the name. When I tried to implement Fancy Box I couldn’t because it breaks the functions file. I tried to rename it on the server, but it disappeared. Does anyone have any advice?