updated rpi-timelapse to check for images that are too dark