b: Fix missing errors on some FMS commands (head, tail, rm)
Merge branch 'bugfix_rm' into upstream-4.0-stable