refactored all file accesses in basic modules to use the functions from ...

... ``lingpy.util``.