Get the absolute path without using readlink