Build target public-create should overwrite existing files, closes #1197
merge bed61dbc3026c1a74ecdbdb01e8a5ee6265e45d7 to dd72952886ac1ffd428e8310bbd333203336f08a (from 1.0)