Update filelib.erl typespecs

Most functions in `filelib` support binaries as arguments but
that was not reflected in the typespecs.

The types `filename_all()` and `dirname_all()` were introduced
to mimic `file:name_all()`.