Move API function in fuse.c.

Suggested by mpi@