Added paging support for AWS responses.

Fixed a bug dealing with local directories that don't exist.