Prevent Redroid from being run multiple times with a lock file.