Allowing a keyPrefix to be a true prefix rather than a pseudo folder

TODO: Add an integration test for the stream wrapper.

This PR allows things like downloadBucket and uploadDirectory to accept a true key prefix (e.g., "baz") rather than force the prefix to be a pseudo folder (e.g., "baz/").