Small change to be able to write files in BB10