File lock for write on /data/traffic_limiter.php

Adding an LOCK_EX for write on file /data/traffic_limiter.php for preventing that one instance is reading data while a write by another instance is not finished.