Fix file_spec of FreeBSD

Use `stat -f` instead of `stat -c`