Added check for different filetype in the same buffer to rebuild prefix/suffix

extracted code from RemovePrefixNSuffix() into CrunchInit(). This code
deals with the building and removing of the prefix/suffix.