properly rename to build.log when old build.log doesn't exist