shell: fix file creating in unit tests
email: fix for test files