Add exception awareness to GetFileContents, SetFileContents, AppendFileContents.
Return None and complain to log if exception occurs.