alloc_file(): simplify handling of mnt_clone_write() errors