corrected compilation bugs on windows using visual 2010
updating saveModelToFile and loadModelToFile functions
Merge branch 'romainguillemot-windows-support'
removing safe checking