sanitize file upload options - path error