Fixed shebang formatting (PY-12775).

(cherry picked from commit 08cab53d7e9e450bcc43c1a9bf791524640ae31a)