Remove extension for OSX script.