Fixed bug, which fails tests when expected and actual files are created on different systems