Fix for Filesystem prepend when file doesn't exist (+ tests)