core: file: W is not RW

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