Make file functions weakly linked, so that a library or user code may implement alternative versions.