Accept silc_file_stat and silc_file_fstat with the stat struct as NULL