Fixes issue #899 that prevents committing a container which hasn't been started yet

Create the 'rw' directory when the container is initialized rather then when the first changed file is written.  This prevents commit from returning an error because 'rw' does not exist.