fix bug in sliceBytesTransformer, FileAndResourceDirectivesSpec OK