fix(generator:controller): Use the yeoman method to read/write the file, only write if we actually do anything