Fixed Bug #173: Bad file owner/permissions during firmware generation