base: File API

On all other deferred.rejects in cockpit.js we include an exception ... here we return a string and an exception. We should be consistent one way or another. How about using BasicError instead of a string?