Just to follow up - I found the error! It turns out my file has old-style Mac OSX line endings, which weren't compatible with the pipeline. As soon as I converted to Linux endings, problem solved! Perhaps this is just me, but hope someone else finds it useful.