Lock log files when reiniting them.
Lock log files when reiniting them.

This is a second attempt of this cl:
http://codereview.chromium.org/3195014/show

BUG=NONE
TEST=NONE

Review URL: http://codereview.chromium.org/3347016

git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@59439 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser