Fix writeFile silent fail

```$cordovaFile.writeFile``` was missing some error callback.
This was causing it to fail but give no feedback.