Cancel export when a store call fails

Lua exporters have to "return true" to cancel the job, "return false" or
no return at all will make it proceed.