take the guts of file-to-pipe splice into a helper function Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>