Bugfix for crash on large file systems