fix(file rewrite): fix file re-write capability.

- Fix formatting for html template files to be all tabs for whitespace (some spaces had crept in) which stuffs up the formatting of file rewriting.

- Added an args option to the rewrite() function to specify extra indents.

fix #55
fix(rewrite): Handle needle not found error in rewrite function.

Throw exception - handled by current default handler - when the needle is not found in the rewrite fucntion.

Fixes #54
fix(rewrite): improve error message when needle not found error.

fixes #54
fix(rewrite) add missing semi-colon
Merge Pull Request