Hacky fix to stop path.join sending windows paths to amazon