h264: merge _internal & template files.