* device-src/s3-device.c: Fix memory leak and check return value of
  mkdir.
* device-src/s3.c: Fix dereferencing NULL pointer.


git-svn-id: https://amanda.svn.sourceforge.net/svnroot/amanda/amanda/trunk@5129 a8d146d6-cc15-0410-8900-af154a0219e0