[tomoh5to2nx] create directories if output directories does not exists create it.

Insure users have rights to write on files if already exists

Some PEP8 modifications too

/close #18

Signed-off-by: payno <payno@linazimov.esrf.fr>
2 jobs for fix_18 in 48 seconds (queued for 3 seconds)