rewriteExt option added to DynamicAssets; potential bug with windows paths fixed