TF __init__.py now extracts the directory path from its own file path