Fix bug with file expander to avoid removing starting /.