make sure the parent directory is created when writing an image
bumped version
Merge branch 'release/0.5.2'
Merge tag '0.5.2' into develop

Released 0.5.2 0.5.2