Convert fetch- and push-specs to arrays
Provide converter for filemodes
Remove reference.packed from test code