escape all $ sign from filename in non-windows os