fix:total_seconds_python2.6

fix proposition for datetime.timedelta.total_seconds in python 2.6 
see issue https://github.com/nipy/nipype/issues/651