More fixes

I exported the temp image path as a main loop component => camera() parameter.
Also, the sampling interval (in seconds) now can be specified as a command argument:

    ./autobrightness.py 10
    # The above for 10 seconds instead of the default 5