workaround build failure when output file is read-only

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
incrementalbuild 0.9.1

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>