support [name] in chunkFilename

fixes #358