fstat(1): Put the v_type -> mode_t conversion into a separate function.
fstat(1): Style changes: Remove param names from protos and staticise.