Missing require in example

The example was missing the path module.