[entropy.locks] _file_lock_create: beautify, open O_CREAT | O_RDONLY if shared mode