re-factoring: bws-io-* routines are improved

furthermore to support the:

- parameter list (signature) of the according native functions
- external read-directory/file-name/etc implementations (e.g. ido's ones)