autoload/tool: fix wrong paths for different files, fixes #81