FIX: TypeError in UploadLogFile

Found by Fede today:

```
2012-03-22 17:41:56 UTC dirac-jobexec/UploadLogFile EXCEPT: coercing to Unicode: need string or buffer, bool found
2012-03-22 17:41:56 UTC dirac-jobexec/UploadLogFile EXCEPT: == EXCEPTION ==
2012-03-22 17:41:56 UTC dirac-jobexec/UploadLogFile EXCEPT: <type 'exceptions.TypeError'>:coercing to Unicode: need string or buffer, bool found
2012-03-22 17:41:56 UTC dirac-jobexec/UploadLogFile EXCEPT:   File "/home/pillhcb032/home_cr006_566734947/CREAM566734947/DIRAC_vEO7Mapilot/LHCbDIRAC/Workflow/Modules/UploadLogFile.py", line 114, in execute
2012-03-22 17:41:56 UTC dirac-jobexec/UploadLogFile EXCEPT:     res = self.finalize( rm, ft )
2012-03-22 17:41:56 UTC dirac-jobexec/UploadLogFile EXCEPT:
2012-03-22 17:41:56 UTC dirac-jobexec/UploadLogFile EXCEPT:   File "/home/pillhcb032/home_cr006_566734947/CREAM566734947/DIRAC_vEO7Mapilot/LHCbDIRAC/Workflow/Modules/UploadLogFile.py", line 175, in finalize
2012-03-22 17:41:56 UTC dirac-jobexec/UploadLogFile EXCEPT:     res = rm.putStorageDirectory( {self.logFilePath:os.path.realpath( self.logdir )}, self.logSE, singleDirectory = True )
2012-03-22 17:41:56 UTC dirac-jobexec/UploadLogFile EXCEPT:
2012-03-22 17:41:56 UTC dirac-jobexec/UploadLogFile EXCEPT:   File "/home/pillhcb032/home_cr006_566734947/CREAM566734947/DIRAC_vEO7Mapilot/DIRAC/DataManagementSystem/Client/ReplicaManager.py", line 822, in putStorageDirectory
2012-03-22 17:41:56 UTC dirac-jobexec/UploadLogFile EXCEPT:     return self._seFuncWrapper(singleDirectory)( storageElementName, storageDirectory, "putDirectory" )
2012-03-22 17:41:56 UTC dirac-jobexec/UploadLogFile EXCEPT:
2012-03-22 17:41:56 UTC dirac-jobexec/UploadLogFile EXCEPT:   File "/home/pillhcb032/home_cr006_566734947/CREAM566734947/DIRAC_vEO7Mapilot/DIRAC/DataManagementSystem/Client/ReplicaManager.py", line 472, in _callStorageElementFcnSingleFile
2012-03-22 17:41:56 UTC dirac-jobexec/UploadLogFile EXCEPT:     res = self._callStorageElementFcn( storageElementName, str(pfn), method, argsDict )
2012-03-22 17:41:56 UTC dirac-jobexec/UploadLogFile EXCEPT:
2012-03-22 17:41:56 UTC dirac-jobexec/UploadLogFile EXCEPT:   File "/home/pillhcb032/home_cr006_566734947/CREAM566734947/DIRAC_vEO7Mapilot/DIRAC/DataManagementSystem/Client/ReplicaManager.py", line 528, in _callStorageElementFcn
2012-03-22 17:41:56 UTC dirac-jobexec/UploadLogFile EXCEPT:     res = fcFcn( pfns, **argsDict )
2012-03-22 17:41:56 UTC dirac-jobexec/UploadLogFile EXCEPT:
2012-03-22 17:41:56 UTC dirac-jobexec/UploadLogFile EXCEPT:   File "/home/pillhcb032/home_cr006_566734947/CREAM566734947/DIRAC_vEO7Mapilot/DIRAC/Resources/Storage/StorageElement.py", line 528, in putDirectory
2012-03-22 17:41:56 UTC dirac-jobexec/UploadLogFile EXCEPT:     return self.__executeFunction( pfn, 'putDirectory' )
2012-03-22 17:41:56 UTC dirac-jobexec/UploadLogFile EXCEPT:
2012-03-22 17:41:56 UTC dirac-jobexec/UploadLogFile EXCEPT:   File "/home/pillhcb032/home_cr006_566734947/CREAM566734947/DIRAC_vEO7Mapilot/DIRAC/Resources/Storage/StorageElement.py", line 626, in __executeFunction
2012-03-22 17:41:56 UTC dirac-jobexec/UploadLogFile EXCEPT:     res = fcn( pfnsToUse, **argsDict )
2012-03-22 17:41:56 UTC dirac-jobexec/UploadLogFile EXCEPT:
2012-03-22 17:41:56 UTC dirac-jobexec/UploadLogFile EXCEPT:   File "/home/pillhcb032/home_cr006_566734947/CREAM566734947/DIRAC_vEO7Mapilot/DIRAC/Resources/Storage/DIPStorage.py", line 504, in putDirectory
2012-03-22 17:41:56 UTC dirac-jobexec/UploadLogFile EXCEPT:     tmpList = os.listdir( sourceDir )
2012-03-22 17:41:56 UTC dirac-jobexec/UploadLogFile EXCEPT: =============== 
````

Caused by wrong operation order in ReplicaManager.