fix for issue 531
address 533
BF: Fix issue where unicode paths were not recognized as files.

Fixes issue where output files with unicode paths were always
being deleted if remove_unnecessary_outputs was set to True.
Merge pull request #547 from moloney/bf-unicode-paths

BF: Fix issue where unicode paths were not recognized as files.
constrain write_which to length 2
Merge pull request #534 from beOn/whichFix

Fix for #533 - use of write_which and closes #531
ENH: Updated ants registration.py. Added two command line parameters: --winsorize-image-intensities and --collapse-linear-transforms-to-fixed-image-header.
ENH: Added a file containing example command line parameters: testRegistration.py.
ENH: Updated ants registration.py.
STYLE: Clean up generate_classes.py
squash
ENH: Added more input traits for Allineate()
BUG: Fixed afni.preprocess.to3D funcparams to not use the undocumented template for the argstr
ENH: Adding tpattern reading functionality to To3D()
BUG: Fixed bug for To3D() for output, To3D only returns AFNI output type (AFNI implementation)
STYLE: fixed typo in documentation and made more PEP8-compliant
BUG: Fixed file rename bug when copyfile is used for AFNI
STYLE: Removed attempt to use base class for prefix and suffix inputs
BUG: Fixed Refit() to correctly accept the output from To3D()
ENH: Added more options for Refit()
ENH: Added Deconvolve() to AFNI and all doctests pass
ENH: Added Zeropad
ENH: Doctests now pass with ELLIPSIS flag
STYLE: Removed unrelated files from pull topic
BUG: DeconvolveInputSpec() inheritance must include DynamicTraitedSpec FIRST or you get weird errors running the pipeline
BUG: Fixed bug with Zeropad's out_file and misspelling with Deconvolve's in_file
BUG: Deconvolve typo for input argstr(s)
squash! Waiting for Jatin's help on Deconvolve errts output