lowercase file extension before using it for type detection
allow deleting and renaming of pastes with only binary files