Version 0.3.0: rename and exclude now accept promises, filename pattern now support optional fragments.