Exclude /var/tmp
Add built-in locking