add file lock for rebuild_blog.sh