MvvmCross/MvvmCross — pull request #684 by guillaume-fr (2014-05-07 08:41:29+00:00)
Title: WindowsStore file plugin, faster WriteFile

The call to SafeDelete is slow when there is no file to delete (Exception handling).
The code can be done in one line using CreationCollisionOption and avoiding multiple access to the storage.
A similar improvement could be done on other implementations of this plugin to avoid multiple access to storage when only one is required.

Also, I think that ReadFile should catch only FileNotFoudException (DirectoryNotFoundException?) or maybe check FileExists intstead of catching all errors.