added write functionality for files (dirs still to do) to s3fs. also improved the tempfile handling.
added write functionality for files (dirs still to do) to s3fs. also improved the tempfile
handling.

amitkr/libaws,amitkr/libaws