Fixes bug where updating a favorite with a 'Read DREAM3D File" in the pipeline would
corrupt the favorite.
Pass and receive the correct filter index when writing a pipeline file. The index can
get messed up if there is a 'Read DREAM3D File' filter in the pipeline

This fix needs further testing to ensure the proper functionality exists.

updates #225.