Reliability of fluctuation-induced transport in a Maxwell-demon-type engine