This should fix Matt's problem with crashes when calling File.writeAll() with a null value and other potential occurances of the same bug.