Issue #3283498 by Mile23, alexpott: Scaffold ReplaceOp::copyScaffold() throws an error for empty files
mentioned in commit 5a83c90a
mentioned in commit 03bdeb1d