Thibau Nys produced a storming finish to pass Emanuel Buchmann for victory on Stage 3 of the Tour of Hungary.