Add shebang and source encodings.