Filesystem::get fails for directory

I added a failing test to show my problem.  Am I missing something, or is this a bug?

You can see the error here: https://travis-ci.org/thephpleague/flysystem/jobs/38731902#L188