winregfs: fix compile error when logging is enabled
winregfs: Add read-only support