publishes file but barfs on successful completion

Change-Id: I436045b8b0ad089897269a714fbfdb9518b0afef