use right absolute path depending on app context for LocalUploader