Storage/file improvements

As discussed in https://github.com/inveniosoftware/invenio/issues/2353
Yeah, it makes sense. Sets are supposed to be faster in Python when you check if an element belongs to it.