Restart device and update existing python file in RPi

@oleorhagen So this is a bug which has not been resolved?