NEXUS-5472: Reason why prefix file rejected was swallowed

When prefix file was rejected (due to some formal checks),
the actual reason was lost, causing the information to
be swallowed. Now it will be presented in both, in logs
and also on UI.