directory/0-byte overwrite respects overwrite flag