Add getUploadPath option for file uploader