Fix: make fs_copy_file respects the contract

Change-Id: Ia38671a247f0bc1176c06ea46c03e9d2858bc24a
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>