adding to shotwell_utils.py