Fix option rpcamdir not needed run all the time.
Fix option rpcamdir not needed run all the time.

Moved it to function and we run it when nessesary.
konstantinj/RPi_Cam_Web_Interface,konstantinj/RPi_Cam_Web_Interface,konstantinj/RPi_Cam_Web_Interface,silvanmelchior/RPi_Cam_Web_Interface,silvanmelchior/RPi_Cam_Web_Interface,silvanmelchior/RPi_Cam_Web_Interface,silvanmelchior/RPi_Cam_Web_Interface,silvanmelchior/RPi_Cam_Web_Interface,konstantinj/RPi_Cam_Web_Interface