splice: fix direct splice error handling