Update backup-mediatemple.sh

Removed $pid dependency (let's use flock on crontab)