remove the binary extension