What is the meaning of this construction? Does it have a special meaning?
A bare ます-stem can be used to join sentences together, much like the て-form. Another valid way to render this sentence would be as follows:
In both cases it translates to "In accordance with the wolf's words, [I] went to the woods."