stacklist2images

minor fix.  error handling for directory creation.