privat/nit — pull request #833 by jcbrinfo (2014-10-16 18:22:44+00:00)
Title: file: Fix `join_path` to handle paths ending with a slash.

That way, we no longer need to manually remove the trailling slash before calling `join_path`.

Signed-off-by: Jean-Christophe Beaupré