core: w+ is enough

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>