Avoid creating weird '~' directory