Fix PIL TypeError in webgateay get_shape_thumbnail() PR 1301
Fix permissions on webtest image_rois. See PR 1301