Cleanup Python/Ruby file encoding headers