Fixed bug with crop file extension in GetLocalHystoryFileName method