Change date format to unix timestamp for filename