Add a portable way to get an absolute path
Keep an absolute reference on upload

Instead of keeping a cut path which can lead to confusions