archives folder should only be created after installation completed

Signed-off-by: Sam Xiao <sam.xs.xiao@gmail.com>
Merge pull request #2 from xbeta/master

archives folder should only be created after installation completed