Abspath

ref to. https://github.com/Codiad/Codiad/issues/248

creates absolute path recursive if not available (with permission check)