Gaufrette metadata support

Using code changes of @jenkoian