fixed do not create parent directory when using partition option