Don't try to create the target file as a directory
Don't try to create the target file as a directory

Co-authored-by: Sergii Tkachenko <c22b5f9178342609428d6f51b2c5af4c0bde6a42@sergii.org>
grpc/grpc-node,grpc/grpc-node,grpc/grpc-node,grpc/grpc-node