`_addFileExtension` is already public in master