Create new file if mode is 'a' (append) but file does not yet exist.