Add proper Python header to file