Fix listing files in a bucket

Only the file one level under the bucket dir were listed and when in the bucket there is a directory a error is returned.

* Add tests for checking if blob in a directory in a bucket is listed @xla