Python Create Executable Shell Script If Z