Bug-fix in analyze with the -all options
Bug-fix in analyze with the -all options

the mkdir command took place after the first try to save a figure when the
option `-all` was specified, leading to a IOError exception.

baudren/montepython_public,baudren/montepython_public,miguelzuma/montepython_zuma,miguelzuma/montepython_zuma