Fix the imageMaxWidth when using the camera, add better logging.
Create directory before saving. Add better debug messages when file cannot be saved.
New binary.