Fixing bug where filename does not contain directory when local="no"