Volunteers spent nearly a year rebuilding the diesel engine that once kept Andersen’s Bayport factory on track.