Fixed NPE when recursively calculating a folder size with a named pipe