improved upload failure message to include file types and max upload size.
fixes #382