grab_fd and grab_file: add a size arg, use everywhere.