Recalculate filepath when file changes its global path

This fixes issue #211 for me.