Creates a File and reports an error if it can't.