added missing require module 'fs'

Signed-off-by: Tiago Maluta <tiago.maluta@gmail.com>