Strips extension from executable