Rename .foo to foo