Make Python hashbangs consistent. Relates #829.