Handle Disk Write errors gracefully

Propogate filemgr_* write and read errors upwards
to callers so disk errors do not cause asserts.

Change-Id: Iae9991f16d08595f73fa200004cdde8f2137ad25