remove os specific file separator and path separator