Update subextractreplace, util, treeprinter:

* Added helper optionfile handling function to util
* Added removecrc and suffix option to subextractreplace
* Modified both subextractreplace and treeprinter to use new util function