We need to wait for the file to stabilize here before pulling it. Adding |cmd_stabilize $1| here does the trick.